﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Se.Framework.Common.Security
{
    public interface IRoleManager
    {
        bool Exists(string roleName);

        bool Create(string roleName);

        bool Delete(string roleName);

        IEnumerable<string> GetAll();

        bool IsInRole(string userName, string roleName);

        void AddUserToRole(string userName, string roleName);
    }
}
